﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Media.Animation;
using Con10uum;
using System.Collections.ObjectModel;

namespace Con10uumSample
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public static Label LabelTrace;

        public double HalfSreenWidth { get { return SystemParameters.PrimaryScreenWidth / 2; } }

        public MainWindow()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(MainWindow_Loaded);
        }

        void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            TiroirTest.ShowRoom1Selected += delegate { MyCon10uum.Items.Add(new Con10uumWindow() { Header = "Web", Content = new Con10uumWindowsChrome() }); };
        }
    }
}

